
<div class="about-pay">
    <div class="price-tip">
        <!-- 新版八字精批删掉 -->
        <if condition="($channel eq qudao26)">
            <span class="now-price">开运特惠价：<!--{$Think.cookie.goldTtjx}-->红钻</span>
            <div class="old-price">原价：￥3200红钻</div>
            <elseif condition="($channel eq qudao1381) or ($channel eq qudao1010)" />
            <else />
            <span class="now-price">开运特惠价：￥<!--{$Think.cookie.price}--></span>
            <div class="old-price">原价：￥168</div>
        </if>
    </div>


    <if condition="$wxlogin eq 1">
        <img src="__PUBLIC__/images/bzjp_img/v2/btn_weixin.png" alt="" class="pay-img weixinzf">
    <elseif condition="$channel eq qudao26" />
        <img src="__PUBLIC__/images/bzjp_img/v2/btn_ttjxHz.png" alt="" class="pay-img" onclick="payMoneyTtjx()">
    <elseif condition="($channel eq qudao245) or ($channel eq qudao135)" />
    <else />
        <img src="__PUBLIC__/images/bzjp_img/v2/btn_weixin.png" alt="" class="pay-img wxpay">
        <img src="__PUBLIC__/images/bzjp_img/v2/btn_zhifubao.png" alt="" class="pay-img alipay">
    </if>

    <!-- qudao138 显示 --><!-- 新版八字精批显示 -->
    <if condition="($channel eq qudao138) or ($channel eq qudao100)">
        <div class="list-imgs">
            <img src="__PUBLIC__/images/safe1.png" alt="" class="safe-img">
            <img src="__PUBLIC__/images/safe2.png" alt="" class="safe-img">
            <img src="__PUBLIC__/images/safe3.png" alt="" class="safe-img">
        </div>
        <div class="safe-tip">支付系统已经经过安全联盟认证，请放心使用</div>
        <div id="close_nocoin">
            <img src="__PUBLIC__/images/public/nocoinHz.png" alt="">
        </div>
        <else />

    </if>

    <if condition="($channel eq qudao138) or ($channel eq qudao100)">
        <!-- 138显示 -->
        <p class="bzjp_zf_time pay-total-138">距优惠结束:&nbsp;&nbsp;<span class="bzjp_color" id="timestr">01:59:59</span></p>
        <!-- 138显示 且+pay-total-138类-->
        <div class="pay-total pay-total-138">已有<span class='redColor'><!--{$Think.cookie.bzjpcs}--></span>人进行了在线测算</div>
        <else />

    </if>

    
    <div class="pay-total pay-total-138">已有<span class='redColor'>99%</span>的用户认为本次测算对人生规划发展有帮助</div>




</div>

<script>
    $('#close_nocoin').hide()
    $('#close_nocoin img').click(function(){
        $('#close_nocoin').hide()
    })
    setInterval(function(){
            $.getJSON("<!--{:U('Bzjp/CountDown','',false)}-->",function(data){//回调入库
                $('#timestr').text(data);
            });
        },1000);
    //头条精选支付
    function payMoneyTtjx(){
        layer.load();
        $.getJSON("<!--{:U('Hezuo/toutiaoJXPay','',false)}-->",function(data){
            console.log(data);
            if(data.code==200||data==1){//成功
                location.href=csNameJump;
            }else{//失败弹窗
                $('#close_nocoin').css("display","flex")
            }
            layer.closeAll('loading');
        });
    }
</script>

<style>
#close_nocoin{
    position: fixed;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    display: flex ;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,.5);
    z-index: 500;
}
.pay-total-138{
    margin: .1rem auto !important;
}
#close_nocoin img{
    display: block;
    width: 5.1rem;
    height: 3.95rem;
}
.list-imgs{
    display: flex;
    width: 6.1rem;
    margin: 0 auto;
    justify-content: space-between;
    margin-bottom: .2rem;
}
.list-imgs img{
    width: 1.8rem;
    display: block;
    height: .67rem;
}
.bzjp_zf_time.pay-total-138{
    font-weight: 700;
}
.about-pay .price-tip{
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: .36rem;
            padding-bottom: 0.3rem;
        }
        .about-pay .price-tip .now-price{
            font-size: .36rem;
            color: #cb2316;
            font-weight: 600;
            padding-right: 0.2rem;
        }
        .about-pay .price-tip .old-price{
            text-decoration: line-through;
            font-size: .24rem;
            color: #333333;
        }
        .about-pay .pay-img{
            width: 6.4rem;
            height: auto;
            display: block;
            margin: 0 auto .2rem;
        }
        .about-pay .pay-total{
            color: #333333;
            font-size: .28rem;
            margin: .3rem 0;
            text-align: center;
        }
        .about-pay .safe-tip{
            font-size: .22rem;
	color: #707070;
    text-align: center;

        }
</style>